Gamma

Adjusts the gamma of a imaG image.

Syntax: imaG.Gamma gamma
gamma (integer) The factor by which to increase or decrease the gamma-correction of the image; use 0 ... 500 to reduce gamma correction, 500 ... 1000 to increase gamma correction (500 causes no change)

If the imaG contains a palettized image, then the palette is adjusted.

If MODE PROPERTY is NOT caModeDraw then an ERROR will be thrown.

See also Brigtness , Contrast , Filter , GrayScale